add_example( ComputeGradientMagnitude )
compare_to_baseline( EXAMPLE_NAME ComputeGradientMagnitude
  BASELINE_PREFIX ComputeGradientMagnitudeTestOutputBaseline
)

add_example( ComputeGradientMagnitudeRecursiveGaussian )
compare_to_baseline( EXAMPLE_NAME ComputeGradientMagnitudeRecursiveGaussian
  BASELINE_PREFIX ComputeGradientMagnitudeRecursiveGaussianTestOutputBaseline
)

add_example( ApplyGradientRecursiveGaussian )
compare_to_baseline(
  EXAMPLE_NAME ApplyGradientRecursiveGaussian
  TEST_NAME ApplyGradientRecursiveGaussianTestBaselineComparisonX
  BASELINE_PREFIX ApplyGradientRecursiveGaussianTestOutputBaselineX
  DEPENDS ApplyGradientRecursiveGaussianTest
  TEST_IMAGE OutputX.png
)
compare_to_baseline(
  EXAMPLE_NAME ApplyGradientRecursiveGaussian
  TEST_NAME ApplyGradientRecursiveGaussianTestBaselineComparisonY
  BASELINE_PREFIX ApplyGradientRecursiveGaussianTestOutputBaselineY
  DEPENDS ApplyGradientRecursiveGaussianTest
  TEST_IMAGE OutputY.png
)
compare_to_baseline(
  EXAMPLE_NAME ApplyGradientRecursiveGaussian
  TEST_NAME ApplyGradientRecursiveGaussianTestBaselineComparisonMagnitude
  BASELINE_PREFIX ApplyGradientRecursiveGaussianTestOutputBaselineMagnitude
  DEPENDS ApplyGradientRecursiveGaussianTest
  TEST_IMAGE OutputMagnitude.png
)

add_example( ApplyGradientRecursiveGaussianWithVectorInput )
compare_to_baseline(
  EXAMPLE_NAME ApplyGradientRecursiveGaussianWithVectorInput
  TEST_NAME ApplyGradientRecursiveGaussianWithVectorInputTestBaselineComparison1X
  BASELINE_PREFIX ApplyGradientRecursiveGaussianWithVectorInputTestOutputBaseline1X
  DEPENDS ApplyGradientRecursiveGaussianWithVectorInputTest
  TEST_IMAGE Output1X.png
)
compare_to_baseline(
  EXAMPLE_NAME ApplyGradientRecursiveGaussianWithVectorInput
  TEST_NAME ApplyGradientRecursiveGaussianWithVectorInputTestBaselineComparison1Y
  BASELINE_PREFIX ApplyGradientRecursiveGaussianWithVectorInputTestOutputBaseline1Y
  DEPENDS ApplyGradientRecursiveGaussianWithVectorInputTest
  TEST_IMAGE Output1Y.png
)
compare_to_baseline(
  EXAMPLE_NAME ApplyGradientRecursiveGaussianWithVectorInput
  TEST_NAME ApplyGradientRecursiveGaussianWithVectorInputTestBaselineComparison2X
  BASELINE_PREFIX ApplyGradientRecursiveGaussianWithVectorInputTestOutputBaseline2X
  DEPENDS ApplyGradientRecursiveGaussianWithVectorInputTest
  TEST_IMAGE Output2X.png
)
compare_to_baseline(
  EXAMPLE_NAME ApplyGradientRecursiveGaussianWithVectorInput
  TEST_NAME ApplyGradientRecursiveGaussianWithVectorInputTestBaselineComparison2Y
  BASELINE_PREFIX ApplyGradientRecursiveGaussianWithVectorInputTestOutputBaseline2Y
  DEPENDS ApplyGradientRecursiveGaussianWithVectorInputTest
  TEST_IMAGE Output2Y.png
)

add_example(ImplementationOfSnakes)
compare_to_baseline(EXAMPLE_NAME ImplementationOfSnakes
  BASELINE_PREFIX OutputBaseline
  )

add_example(GradientOfVectorImage)
compare_to_baseline(EXAMPLE_NAME GradientOfVectorImage
  BASELINE_PREFIX OutputBaseline
  )

if(ENABLE_QUICKVIEW)
add_example(ComputeAndDisplayGradient)
compare_to_baseline(EXAMPLE_NAME ComputeAndDisplayGradient
  BASELINE_PREFIX OutputBaseline
  )
endif()
